@echo off

setlocal 
%~d0
cd "%~dp0"


IF EXIST %WINDIR%\SysWow64 (
set powerShellDir=%WINDIR%\SysWow64\windowspowershell\v1.0
) ELSE (
set powerShellDir=%WINDIR%\system32\windowspowershell\v1.0
)

call %powerShellDir%\powershell.exe .\convertDocumentPdf.ps1 ..\startHere.docx
call %powerShellDir%\powershell.exe .\convertDocumentHtml.ps1 ..\startHere.docx

pause